package com.huolian.calculator.entity;
//学生类
public class Student {
    private String name;
    int age;
    String studentID;

    //构造方法
    public Student(String name, int age,String studentID){
        this.name = name;
        this.age = age;
        this.studentID = studentID;
    }

    //打印学生信息
    public void printInfo(){
        System.out.println("Name:"+ name +",Age:"+ age +",Student ID:"+ studentID);
    }

}
